<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>客户资源池</title>
    <%@ include file="/WEB-INF/views/commons/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/clientResourcePool.js"></script>
</head>
<body>
    <%--数据表格--%>
    <table id="all_datagrid" fit="true"></table>


    <%--表格工具栏--%>
    <div id="tb">
        <%--<a href="javascript:;" class="easyui-linkbutton" data-cmd="watch"  data-options="iconCls:'icon-search',plain:true">查看</a>--%>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        <shiro:hasRole name="HR_MGR">
            <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" data-cmd="assign">指派客户给其他人</a>
        </shiro:hasRole>
        <shiro:hasRole name="Marketer">
            <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" data-cmd="receive">接收他/她</a>
        </shiro:hasRole>
    </div>

    <%--添加和编辑弹窗--%>
    <div id="edit_dialog" align="center">
        <form id="edit_form" method="post">
        <table align="center" style="margin-top: 20px;
                border-collapse:separate; border-spacing:0px 10px;">
            <tr>
                <td>姓名:</td>
                <td><input class="easyui-textbox" readonly="true" name="aaa"/></td>
            </tr>
            <tr>
                <td>QQ:</td>
                <td><input class="easyui-textbox" readonly="true" name="bbb"/></td>
            </tr>

            <tr>
                <td>指派人员:</td>
                <td><input id="hide" name="tracerId" class="easyui-combobox" data-options="
                            valueField: 'id',
                            textField: 'username',
                            url: '/employee/listData.do',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                </td>
            </tr>

        </table>
        </form>
    </div>

    <%--弹窗底部按钮--%>
    </div>
    <div id="bb">
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>

</body>
</html>
